package gui.JEditorPane;

import java.io.IOException;
 
import javax.swing.JEditorPane;
import javax.swing.JFrame;

public class MyEditorPane extends JFrame  {

	
	private static final long serialVersionUID = 1L;

	public MyEditorPane(){
		super("JEditorpane");
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setBounds(200,250,700,720);
		setVisible(true);
		
		
	}
	
	
	
	public static void main(String[] args){

		MyEditorPane frame =new MyEditorPane();
		JEditorPane ePane=null;
		try {
			ePane = new JEditorPane("http://www.szut.de");
		} catch (IOException e) {
			System.err.println("URL nicht erreichbar");
			System.exit(0);
		}
		
		frame.add(ePane);
		
	}

}
